/*
 * 
 * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *
 * This software is published under the GPL GNU General Public License. 
 * This program is free software; you can redistribute it and/or 
 * modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation; either version 2 
 * of the License, or (at your option) any later version. * 
 * This program is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
 * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License 
 * along with this program; if not, write to the Free Software 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 
 * 
 * <OSCAR TEAM>
 * 
 * This software was written for the 
 * Department of Family Medicine 
 * McMaster University 
 * Hamilton 
 * Ontario, Canada 
 */
.calendar {
	position: relative;
	display: none;
	border-top: 2px solid #fff;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 2px solid #fff;
	font-size: 11px;
	color: #000;
	cursor: default;
	background: #c8d0d4;
	font-family: Verdana, Arial, Helvetica, sans-serif;
    z-index: 150;
}

.calendar table {
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
	font-size: 11px;
	color: #000;
	cursor: default;
	background: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.calendar .button {
	text-align: center;
	padding: 1px;
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
}

.calendar thead .title {
	font-weight: bold;
	padding: 1px;
	border: 1px solid #000;
	background: #5F7BA4;
	color: #fff;
	text-align: center;
}

.calendar thead .headrow {
	
}

.calendar thead .daynames {
	
}

.calendar thead .name {
	border-bottom: 1px solid #000;
	padding: 2px;
	text-align: center;
	background: #ffffff;
}

.calendar thead .weekend {
	font-weight: bold;
	color: #5f7ba4;
}

.calendar thead .hilite {
	border-top: 2px solid #fff;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 2px solid #fff;
	padding: 0px;
	background: #5F7BA4;
}

.calendar thead .active {
	padding: 2px 0px 0px 2px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
	background: #5F7BA4;
}

.calendar tbody .day {
	width: 2em;
	text-align: right;
	padding: 2px 4px 2px 2px;
}

.calendar table .wn {
	padding: 2px 3px 2px 2px;
	border-right: 1px solid #000;
	background: #D1DEE8;
}

.calendar tbody .rowhilite td {
	background: #D1DEE8;
}

.calendar tbody .rowhilite td.wn {
	background: #5F7BA4;
}

.calendar tbody td.hilite {
	padding: 1px 3px 1px 1px;
	border: 1px solid;
	border-color: #fff #000 #000 #fff;
}

.calendar tbody td.active {
	padding: 2px 2px 0px 2px;
	border: 1px solid;
	border-color: #000 #fff #fff #000;
}

.calendar tbody td.selected {
	font-weight: bold;
	padding: 2px 2px 0px 2px;
	border: 1px solid;
	border-color: #000 #fff #fff #000;
	background: #D1DEE8;
}

.calendar tbody td.weekend {
	font-weight: bold;
	color: #5f7ba4;
}

.calendar tbody td.today {
	font-weight: bold;
	color: #5F7BA4;
}

.calendar tbody .disabled {
	color: #999;
}

.calendar tbody .emptycell {
	visibility: hidden;
}

.calendar tbody .emptyrow {
	display: none;
}

.calendar tfoot .footrow {
	
}

.calendar tfoot .ttip {
	background: #ffffff;
	padding: 1px;
	border: 1px solid #000;
	background: #5F7BA4;
	color: #fff;
	text-align: center;
}

.calendar tfoot .hilite {
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
	padding: 1px;
	background: #5F7BA4;
}

.calendar tfoot .active {
	padding: 2px 0px 0px 2px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

.combo {
	position: absolute;
	display: none;
	width: 4em;
	top: 0px;
	left: 0px;
	cursor: default;
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
	background: #ffffff;
	font-size: smaller;
	padding: 1px;
}

.combo .label {
	text-align: center;
	padding: 1px;
}

.combo .active {
	background: #c8d0d4;
	padding: 0px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

.combo .hilite {
	font-size: 9pt;
	background: #5f7ba4;
	color: #d1dee8;
}